Skip to content

perf(tests): move the 600s evidence-capture journey to a nightly pool (#128 rec 2) - #148

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
perf/evidence-capture-nightly
Sep 1, 2026
Merged

perf(tests): move the 600s evidence-capture journey to a nightly pool (#128 rec 2)#148
ScriptedAlchemy merged 1 commit into
mainfrom
perf/evidence-capture-nightly

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • Implements #128 recommendation 2 (the audit's "one genuine misplacement"): runtime-playground-capture.test.ts — the 600s-budget browser journey whose product is a documentation artifact (screenshots + evidence.json) — leaves the per-PR integration pool. The behavioral contracts it exercises (HMR activation, last-good retention, recovery) stay proven per PR by runtime-playground.e2e.test.ts and runtime-playground-hmr.e2e.test.ts in the same pool.
  • New nightlyEvidenceTestFiles list in rstest.integration-tests.ts, excluded from the unit pool, with its own rstest.evidence.config.ts (one worker; same shared example-payload globalSetup, because the capture harness copies examples/rsc-agent-runtime/dist through the playground fixture).
  • New root script pnpm test:evidence runs in CI's nightly packed-matrix job — evidence regenerates when the flow changes, not on every PR. Estimated 60–120s off every per-PR integration pool run per the audit.
  • Sequencing note from the audit is satisfied: perf(test): remove the CI serial-worker pin with flakes fixed at the source #118 (which owned the shared runtime-playground-fixture.ts helper) has landed; this change touches no perf(test): remove the CI serial-worker pin with flakes fixed at the source #118-owned file contents, only pool membership and new wiring.

Test plan

  • pnpm test:evidence green: all three tests in the moved file pass, including the full identity-backed HMR/last-good/recovery browser journey.
  • pnpm typecheck and pnpm lint green.
  • Unit pool confirmed to still exclude the moved file (no runtime-playground-capture execution in pnpm test:unit output; the two unrelated 5s-timeout flakes observed under external machine load pass in isolation).

Refs #128.

…ool (#128)

runtime-playground-capture.test.ts produces a documentation artifact
(screenshots + evidence.json) through a full HMR/last-good/recovery browser
journey under the repo's largest budget (600s). Its behavioral contracts are
already proven per PR by runtime-playground.e2e.test.ts and
runtime-playground-hmr.e2e.test.ts in the same pool, so the capture harness
now runs through the new `pnpm test:evidence` script (rstest.evidence.config.ts,
one worker, same shared example-payload globalSetup) in CI's nightly
packed-matrix job instead of every per-PR integration run — evidence
regenerates when the flow changes, not on every PR.

Verified: `pnpm test:evidence` green (all three tests including the full
browser journey), typecheck and lint green, and the moved file stays
excluded from the unit pool.
@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9d08a41

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T07:44:15.763145Z 9d08a41 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Sep 1, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle@148
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/create-agent-bundle@148
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/@agent-bundle/runtime@148

commit: 9d08a41

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9d08a413c3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread rstest.integration-tests.ts
@ScriptedAlchemy
ScriptedAlchemy merged commit e38725d into main Sep 1, 2026
10 checks passed
ScriptedAlchemy added a commit that referenced this pull request Sep 1, 2026
@ScriptedAlchemy
ScriptedAlchemy deleted the perf/evidence-capture-nightly branch September 3, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant